package com.mdtx.base.exception;

import com.mdtx.base.SystemErrorCode;
import com.mdtx.business.BusinessErrorCode;

/**
 * 处理层异常
 *
 * @author zhgz
 * @create 2017-08-23 23:24
 **/
public class ManagerException extends BaseException  {
    public ManagerException(BusinessErrorCode se) {
        super(se);
    }

    public ManagerException(BusinessErrorCode se, Throwable cause) {
        super(se, cause);
    }

    public ManagerException(SystemErrorCode se) {
        super(se);
    }

    public ManagerException(SystemErrorCode se, Throwable cause) {
        super(se, cause);
    }

    @Override
    public String getExceptionType() {
        return exceptionType.MANAGER.toString();
    }
}
